package com.yykj.hospital.server.model.repository.account;

import com.yykj.hospital.server.enums.AccountType;
import com.yykj.hospital.server.model.entity.account.AccountSystem;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AccountSystemRepository extends JpaRepository<AccountSystem,Integer> {
    AccountSystem findFirstByHospitalIdAndAccountType(Integer hospitalId, AccountType accountType);
}
